package com.wsj;

import java.util.Date;

/**
 * @description:
 * @author: wangSiJia
 * @date: Created in 2020/5/17 10:32
 * @version: v1.0
 * @modified By:wangSiJia
 */
public class Automobile {
    private String ownership;
    private String GPSPosition;
    private String price;
    private Date dateOfPurchase;
    private String id;

    public Automobile() {
    }
    public Automobile(String id) {
        this.id = id;
    }

    public String getOwnership() {
        return ownership;
    }
    public void setOwnership(String ownership) {
        this.ownership = ownership;
    }

    public String getGPSPosition() {
        return GPSPosition;
    }
    public void setGPSPosition(String GPSPosition) {
        this.GPSPosition = GPSPosition;
    }

    public String getPrice() {
        return price;
    }
    public void setPrice(String price) {
        this.price = price;
    }

    public Date getDateOfPurchase() {
        return dateOfPurchase;
    }
    public void setDateOfPurchase(Date dateOfPurchase) {
        this.dateOfPurchase = dateOfPurchase;
    }

    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }

    public void drivingMethod(){
        System.out.println("驾驶方法：" +
                "先确认车辆四周没百任何障碍物或者人，然后上车。钥匙转动到ON位置后，让车辆通电几秒钟完成自检。然后踩刹车并度转动钥匙启动车辆（自动挡）。启动后，档位挂入D档，慢慢松开问刹车，车辆就前进了。\n" +
                "\n" +
                "如果是手动挡，则答需要踩下离合器后再启动发动机，然后挂入1档，慢慢松开离合器的同回时，右脚从刹车踏板转移到油门踏板上，并微微加油。油门和离合器配合使用，车答辆慢慢前进。");

    }
}
